home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et-2_2.lha
/
et2.2
/
src
/
SERVER
/
ServerConnection.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-12
|
539b
|
25 lines
#ifndef ServerConnection_First
#define ServerConnection_First
#include "WindowPort.h"
#include "Server.h"
#include "System.h"
class ServerConnection : public SysEvtHandler {
int sock, sequence;
FILE *ifp, *ofp;
public:
ServerConnection();
void Notify(SysEventCodes, int);
void Close();
bool HasInterest();
bool SafeRead(Response *b, int timeout, bool overread);
void SendMsg(int tag, int ref, char *fmt= 0, ...);
void Flush();
};
extern ServerConnection *gConnection;
#endif ServerConnection_First